<!-- Module Prestatheme -->
{extends file="helpers/view/view.tpl"}

{block name="override_tpl"}

	<h2>{$head_title}</h2>

	<div id="object_view">
		<fieldset>
			<p class="required text">
				<label id="label_name">{l s='Name' mod='prestatheme'}: </label>
				<span>{$object->name}</span>
			</p>
			<p class="required text">
				<label id="label_owner">{l s='Owner' mod='prestatheme'}: </label>
				<span>{$object->getOwnerName(true)}</span>
			</p>
			<p class="required text">
				<label id="label_CMS">{l s='Associated CMS' mod='prestatheme'}: </label>
				<span>{$object->getCMSName()}</span>
			</p>
            {if $object->id_product}
            <p class="required text">
                <label id="label_product_name">{l s='Associated Product' mod='prestatheme'}</label>
                <span><a href="{$edit_product_link}{$object->id_product}" title="{$object->getProductName()}">{$object->getProductName()}</a></span>
            </p>
            {/if}
			<p class="required text">
				<label id="label_description">{l s='Description' mod='prestatheme'}: </label>
				<span> &nbsp; {$object->description|strip_tags:'UTF-8'}</span>
			</p>
			<p class="required text">
				<label id="label_is_public">{l s='Is Public' mod='prestatheme'}: </label>
				<span>{$object->is_public}</span>
			</p>
			<p class="required text">
				<label id="label_active">{l s='Available' mod='prestatheme'}: </label>
				<span>{$object->active}</span>
			</p>
			<p class="required text">
				<label id="label_date_add">{l s='Registration' mod='prestatheme'}: </label>
				<span>{dateFormat date=$object->date_add full=1}</span>
			</p>
			<p class="required text">
				<label id="label_date_upd">{l s='Last update' mod='prestatheme'}: </label>
				<span>{dateFormat date=$object->date_upd full=1}</span>
			</p>
		</fieldset>
	</div>
{/block}
<!-- /Module Prestatheme -->
